#include <iostream>
#include "util/SdfEncoder.h"
#include "XmlApp.h"

using namespace std;

int main() {	
	cout << "Begining the test!!!" << endl;
	/*conex::SdfEncoder sdf;
	string result = sdf.sti_hex(2);
	cout << result << endl;
	string sti = "0x5207df000001";
	conex::SdfEncoder sdf2(sti);
	cout << sdf2.sti_hex(3) << endl;
	cout << sdf2.sti_change_pos(sti, 6) << endl;*/
	//cout << "-----------CoApp-------------" << endl;
	//cout << "-----------DbApp-------------" << endl;
	cout << "-----------XmlApp------------" << endl;
	conex::XmlApp app;
	app.Go();
	/*while(true) {
		cout << "1 for DB2XML, 2 for XML2DB" << endl;
		int in;
		cin >> in;
		if(in == 1)
			app.Db2Xml();
		else if(in == 2)
			app.Xml2Db();
		else
			break;		
	}*/
	cout << "End the test!!!" << endl;
	system("PAUSE");
	return 0;
}

